package com.songlanyun.modules.coupon.service;

import com.songlanyun.common.drive.IBaseService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.coupon.entity.CouponReceiveRecordUseEntity;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2022-07-09 11:27:07
 */
public interface CouponReceiveRecordUseService extends IBaseService<Long,CouponReceiveRecordUseEntity> {

    @Override
    PageUtils queryPage(Map<String, Object> params);

    void recordOrder(Long id, Long orderId, String orderCode, BigDecimal couponResultValue);

    List<CouponReceiveRecordUseEntity> loadByRecordId(Long id);
}

